package com.atguigu.gmall;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * 加载 Spring 配置
 *
 * @author brian
 */
public class Provider {
    public static void main(String[] args) throws Exception {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[]{"provider.xml"});
        context.start();
        System.in.read(); // 按任意键退出
    }
}